package com.czwj.service;

import java.util.List;
import java.util.Map;

import com.czwj.entities.PlanDaily;

public interface PlanDailyService {

	List<PlanDaily> search(Map<String, Object> map);

	int count(Map<String, Object> map);

	int update(PlanDaily planDaily);

	int insert(PlanDaily planDaily);

	int updateStatus(int id);

	PlanDaily findbydateandmain(Map<String, Object> map);

	String remainpercent(Map<String, Object> map);

	PlanDaily selectByPrimaryKey(int id);

	List<PlanDaily> searchbylevel2(Map<String, Object> map);

	int countbylevel2(Map<String, Object> map);

	List<PlanDaily> searchReviewedLevel2(Map<String, Object> map);

	int countReviewedLevel2(Map<String, Object> map);

	List<PlanDaily> findoneday(Map<String, Object> map);

	List<String> existplandate(Map<String, Object> map);

	int remove(int id);

	List<PlanDaily> findbymain(Integer id);


}
